{if $need_header_footer}
{template common/header}
{template album/header}
{/if}
<div class="container mt20">
	<div class="span12 main">
		{template user/usernav}
		<div id="waterfall_outer" data-fullscreen="0" class="container">
			<div class="span12 ml0" id="waterfall" data-pin-width="233" data-animated="0" style="min-height: 400px">
			{if $tpl_waterfall}
				{if $page==1}
					{template album/info}
				{/if}
				$tpl_waterfall
			{else}
				{template album/alert}
			{/if}
			</div>
		</div>
	</div>
</div>

<div class="container">
	<div id="loadingPins" class="span12 text_c"><img src="{baseurl}themes/$theme/img/puzzle32.gif"></div>
</div>
<div id="page-nav" class="mt20 container hide">
	<a id="page-next" href="$nextpage_url"></a>
</div>
<div class="hide">
	$pages
</div>
{if $need_header_footer}
{template js_tpl/comment_waterfall_tpl}
{template common/footer}
{/if}
